package org.huzhp.console.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Description: 路由类
 * @Author: huzp
 * @CreateDate: 2020/3/12 15:18
 * @Version: 1.0
 */
@Data
@TableName(value = "base_gateway_predicate")
public class GatewayPredicate {

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    @TableField(value = "route_id")
    private Long routeId;

    @TableField(value = "predicate_name")
    private String predicateName;

    @TableField(value = "predicate_args")
    private String predicateArgs;

}
